﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.ServiceModel;
    using System.Xml.Serialization;

    [MessageContract(WrapperName="SetDynamicDNS", WrapperNamespace="http://www.onvif.org/ver10/device/wsdl", IsWrapped=true), DebuggerStepThrough, GeneratedCode("System.ServiceModel", "3.0.0.0")]
    public class SetDynamicDNSRequest
    {
        [XmlElement(DataType="token"), MessageBodyMember(Namespace="http://www.onvif.org/ver10/device/wsdl", Order=1)]
        public string Name;
        [MessageBodyMember(Namespace="http://www.onvif.org/ver10/device/wsdl", Order=2), XmlElement(DataType="duration")]
        public string TTL;
        [MessageBodyMember(Namespace="http://www.onvif.org/ver10/device/wsdl", Order=0)]
        public DynamicDNSType Type;

        public SetDynamicDNSRequest()
        {
        }

        public SetDynamicDNSRequest(DynamicDNSType Type, string Name, string TTL)
        {
            this.Type = Type;
            this.Name = Name;
            this.TTL = TTL;
        }
    }
}

